package com.msb.apipassenger.controller;

import com.msb.commons.response.ResponseResult;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: chshh
 * @version: 1.0
 */
@RestController
public class TestController {


    //需要token才能正常返回
    @RequestMapping("/authTest")
    public ResponseResult authTest(){

        return ResponseResult.success("authTest");
    }

    //不需要token才能正常返回
    @RequestMapping("/noauthTest")
    public ResponseResult noauthTest(){
        return ResponseResult.success("authTest");
    }
}